package com.book.service;


import com.book.pojo.Book;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

/**
 * @author xuchangshuo
 * @date 2020/10/29 15:14
 */
public interface BookService {


    List findAllBook();

    boolean addBook(Book book);

    boolean editBook(Book book);

    boolean delete(int id);

    Page<Book> findPage(int currentPage, int pageSize);

    List search(Map<String, String> map);

     void getRedisData();
}
